package org.zcl.stategy.service.impl;

import org.springframework.stereotype.Service;
import org.zcl.stategy.entity.Boy;
import org.zcl.stategy.service.StudentGenericStrategy;

/**
 * @Package org.zcl.stategy.service.impl
 * @PROJECT_NAME: question
 * @DESCRIPTION:
 * @USER: zhuchenglin
 * @DATE: 2022/6/15 16:45
 */
@Service
public class BoyServiceImpl extends StudentGenericStrategy<Boy> {

    @Override
    public void initialize() {
        System.out.println("Boy Game Initialized! Start playing.");
    }

    @Override
    public void startPlay() {
        System.out.println("Boy Game Started. Enjoy the game!");
    }

    @Override
    public void endPlay() {
        System.out.println("Boy Game Finished!");
    }
}

